<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class pagoActualizar extends CI_Controller {

    public function __construct() {
        parent::__construct();
        session_start();
    }

    public function index() {
        $contenido = "Hola mundo";
        $file = @fopen("prueba.txt", "a+");
        fwrite($file, $contenido);
        fclose($file);
        echo $contenido;
    }

}
